package com.chuanyang.driverh.utils.eventbus;


import com.chuanyang.driverh.amap.LocationEntity;

public class AddAddrEvent {
	private LocationEntity entity;
	private int type;//1,个人信息中选择地址，2，添加线路起始地，3，添加线路终点。


	public AddAddrEvent(LocationEntity entity,int type) {
		this.entity = entity;
		this.type=type;
	}
	
	public LocationEntity getEntity(){
		return entity;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}
}
